home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-10-14 | 565 b | 50 lines |
- #
- # makefile for FBM2FLI
- #
-
- # Insert here the location where the FBM package is installed
- FBM=/usr/local/fbm
- # Compiler
- CC=gcc
-
- #
- # Cflags
- #
- CFLAGS=-O2 -Wall -D_COMPAT_ -I$(FBM)
- FBMLIB= -L$(FBM) -lfbm
-
- .c.o:
- $(CC) $(CFLAGS) -c $*.c
-
- #
- # All targets
- #
- all: fbm2fli fboctree
-
- #
- # Objects for fbm2fli
- #
- OBJ = \
- fppmain.o \
- fppmake.o \
- fppframe.o \
- fppbrun.o \
- fppdelta.o \
- fpplc.o \
- fppcolor.o \
- fppfile.o
-
- #
- # Executables
- #
- fbm2fli: $(OBJ)
- gcc -o $@ $(OBJ) $(FBMLIB)
-
- fboctree: fboctree.o
- gcc -o $@ fboctree.o $(FBMLIB)
-
- #
- # Dependecies
- #
- $(OBJ) : fpfli.h
-